package com.moon.game.constants;

public class GlobalConstants {
	// 编码字符
	public static final String UTF_8 = "utf-8";
	
	// 配置文件名称
	public static final String CONFIG_FIRE = "config.xml";
	public static final String COMMAND_FIRE = "command.properties";
	
	// netty udp接收数据包大小，netty默认为768
	public static final String NETTY_RECEIVE_BUFFER_SIZE_PREDICTOR_FACTORY = "receiveBufferSizePredictorFactory";
	// server设置
	public static final int DATA_SERVER_SEND_MAX = 2048; // dataserver发送最大值
	public static final int DATA_SERVER_REC_MAX = 4096; // dataserver接收最大值
	public static final int PROFILE_SERVER_SEND_MAX = 2048; // profileserver发送最大值
	public static final int PROFILE_SERVER_REC_MAX = 2048; // profileserver接收最大值
	
	// client连接池尺寸
	public static final int PROXY_CLIENT_SIZE = 20; // proxyserver客户端连接池尺寸
	
	// 标识
	public static final String COMMA_SEPARATOR = ","; // 多个server配置时的符号分隔
	
	// memcached 通道名
	public static final String POOL_NAME_SYS = "sys"; //系统
	public static final String POOL_NAME_CHAT = "chat"; //聊天
	
}
